package edu.zjucst.spb.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 用户业务状态枚举
 * @author qingo
 * @date 2022/12/22 10:34
 **/
@Getter
@AllArgsConstructor
public enum UserBusinessStatusEnum{
    VERIFICATION_EXPIRED("0001", "验证码错误或已过期，请重试"),

    USERNAME_OR_PWD_ERR("0002","账号或密码错误!"),
    PWD_NOT_SAME_ERR("0003","两次输入密码不一致!"),

    USER_NOT_EXIST("2001", "登录用户不存在"),
    PASSWORD_ERROR("2002", "登录密码错误")

    ;

    final String code;

    final String description;
    final String prefix = "user";
}
